IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > TypeFns Class > FindMethod Method : FindMethod(Type,String,BindingFlags,Type[],Type[]) Method |
'Declaration
Public Overloads Shared Function FindMethod( _ ByVal type As Type, _ ByVal methodName As String, _ ByVal flags As BindingFlags, _ ByVal genericArgTypes() As Type, _ ByVal parameterTypes() As Type _ ) As MethodInfo
'Usage
Dim type As Type Dim methodName As String Dim flags As BindingFlags Dim genericArgTypes() As Type Dim parameterTypes() As Type Dim value As MethodInfo value = TypeFns.FindMethod(type, methodName, flags, genericArgTypes, parameterTypes)
public static MethodInfo FindMethod( Type type, string methodName, BindingFlags flags, Type[] genericArgTypes, Type[] parameterTypes )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2